﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace SuperQuiz.Model
{
    [DataContract]
    public class Alternative
    {
        [DataMember]
        public string Text { get; set; }
         [DataMember]
        public Boolean Value { get; set; }
         [DataMember]
        public Boolean UserAnswer { get; set; }

        public Alternative(string Text, Boolean value)
        {
            this.Text = Text;
            this.Value = value;
        }

    }


}
